﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="List.ascx.vb" Inherits="Control_QuanLyMaSoThue_List" %>
<script type='text/javascript'>
    function ajaxJquery() {
        $(function () {
            $(".TextBox:first").focus();
            //check cookie to show or hide search pannel
            if ($.cookie('CookieSiteSearch') == 1) {
                $('#pnlSearch').show();
            }
            else {
                $('#pnlSearch').hide();
            }
            $('#B1').click(function (event) {
                //set cookie
                if ($.cookie('CookieSiteSearch') == 1) {
                    $.cookie('CookieSiteSearch', 0)
                }
                else {
                    $.cookie('CookieSiteSearch', 1)
                }
                $('#pnlSearch').slideToggle(500);
                if ($('#imgShowHide').attr("src") == "../../images/arrow_popup.gif") {
                    $('#imgShowHide').attr("src", "../../images/arrow_showless.gif");
                }
                else {
                    $('#imgShowHide').attr("src", "../../images/arrow_popup.gif");
                }
            });
        });
    }
    function confirmMultiDelete(strID) {
        var grdShow = document.getElementById("<%=grdShow.ClientID %>");
        var count = 0;
        for (i = 1; i < grdShow.children.item(0).children.length; i++) {
            if (grdShow.children.item(0).children.item(i).children.item(0).children.item(0).checked) {
                count += 1;
            }
        }
        if (count > 0) {
            return ComfirmDialog('<%=drpMessage.Items(1).Text%>', 0, strID, 0, 0);
        } else {
            Alertbox('<%=drpMessage.Items(2).Text%>');
            return false;
        }
    }
    function ComfirmDialog(strText, value, ObjectIdClick, ID, Type) {
        if (value == 0) {
            Confirmbox(strText, value, ObjectIdClick, ID, Type);
            return false;
        } else {
            if (Type == 1) {
                document.getElementById('<%=hidID.ClientID %>').value = ID;
                eval($("#" + ObjectIdClick + "").attr("href"));
            }
            else {
                $("#" + ObjectIdClick + "").click();
            }
        }
    }
</script>
<style>
    .display {
        display: none;
    }
</style>
<asp:UpdatePanel ID="uplNguoinopthue" runat="server">
    <ContentTemplate>
        <div class="content_porletform">
            <div class="HeadTitle">
                <h3>QUẢN LÝ NGƯỜI NỘP THUẾ</h3>
            </div>
            <div class="box_contentform">
                <div class="box_scroll_grid">
                    <div class="SubjectTitle" id="SInfor" runat="server">
                        <legend class="SubjectTitle">
                            <img alt="" src="../../images/arrow_showless.gif" id="img1" />
                            <a id="B1" href="#">Tìm kiếm</a>&nbsp;&nbsp;</legend>
                    </div>
                    <div id="pnlSearch" class="SubjectTitle">
                        <div id="search" class="BoxField">
                            <div class="DivRow">
                                <div class="Div-Left">
                                    <div class="DivLabelSearch">
                                        Mã cơ quan thuế:
                                    </div>
                                    <div class="DivTextBox">
                                        <asp:TextBox ID="txtMacqt" CssClass="TextBox" runat="server" Text="" />
                                    </div>
                                </div>
                                <div class="Div-Right">
                                    <div class="DivLabelSearch">
                                        Tên cơ quan thuế:
                                    </div>
                                    <div class="DivTextBox">
                                        <asp:TextBox ID="txtTencqt" CssClass="TextBox" runat="server" Text="" />
                                    </div>
                                </div>
                            </div>
                            <div style="clear: both"></div>
                            <div class="DivRow">
                                <div class="Div-Left">
                                    <div class="DivLabelSearch">
                                        Mã người nộp thuế:
                                    </div>
                                    <div class="DivTextBox">
                                        <asp:TextBox ID="txtSonguoinopthue" CssClass="TextBox" runat="server" Text="" />
                                    </div>
                                </div>
                                <div class="Div-Right">
                                    <div class="DivLabelSearch">
                                        Mã số thuế:
                                    </div>
                                    <div class="DivTextBox">
                                        <asp:TextBox ID="txtMasothue" CssClass="TextBox" runat="server" Text="" />
                                    </div>

                                </div>
                            </div>
                            <div style="clear: both"></div>
                            <div class="DivRow">
                                <div class="Div-Left">
                                    <div class="DivLabelSearch">
                                        Tên người nộp thuế:
                                    </div>
                                    <div class="DivTextBox">
                                        <asp:TextBox ID="txtTennguoinopthue" CssClass="TextBox" runat="server" Text="" />
                                    </div>
                                </div>
                                <div class="Div-Right">
                                    <div class="DivLabelSearch">
                                        Mã ngành nghề KD chính :
                                    </div>
                                    <div class="DivTextBox">
                                        <asp:TextBox ID="txtManganhchinh" CssClass="TextBox" runat="server" Text="" />
                                    </div>
                                </div>
                            </div>
                            <div style="clear: both"></div>
                            <div class="DivRow">
                                <div class="Div-Left">
                                    <div class="DivLabelSearch">
                                        Tên ngành nghề KD chính :
                                    </div>
                                    <div class="DivTextBox">
                                        <asp:TextBox ID="txtTennganhchinh" CssClass="TextBox" runat="server" Text="" />
                                    </div>
                                </div>
                                <div class="Div-Right">
                                    <div class="DivLabelSearch">
                                        Số nhà/Đường phố :
                                    </div>
                                    <div class="DivTextBox">
                                        <asp:TextBox ID="txtSonha" CssClass="TextBox" runat="server" Text="" />
                                    </div>
                                </div>
                            </div>
                            <div style="clear: both"></div>
                            <div class="display">
                                <div class="DivRow">
                                    <div class="Div-Left">
                                        <div class="DivLabelSearch">
                                            Mã Phường Xã :
                                        </div>
                                        <div class="DivTextBox">
                                            <asp:TextBox ID="txtMaphuongxa" CssClass="TextBox" runat="server" Text="" />
                                        </div>
                                    </div>
                                    <div class="Div-Right">
                                        <div class="DivLabelSearch">
                                            Tên Phường Xã:
                                        </div>
                                        <div class="DivTextBox">
                                            <asp:TextBox ID="txtTenphuongxa" CssClass="TextBox" runat="server" Text="" />
                                        </div>
                                    </div>
                                </div>
                                <div style="clear: both"></div>
                                <div class="DivRow">
                                    <div class="Div-Left">
                                        <div class="DivLabelSearch">Mã Quận/Huyện :</div>
                                        <div class="DivTextBox">
                                            <asp:TextBox ID="txtMahuyen" CssClass="TextBox" runat="server" Text="" />
                                        </div>
                                    </div>

                                    <div class="Div-Right">
                                        <div class="DivLabelSearch">Tên Quận/Huyện :</div>
                                        <div class="DivTextBox">
                                            <asp:TextBox ID="txtHuyen" CssClass="TextBox" runat="server" Text="" />
                                        </div>
                                    </div>
                                </div>
                                <div style="clear: both"></div>
                                <div class="DivRow">
                                    <div class="Div-Left">
                                        <div class="DivLabelSearch">Mã Tỉnh/Thành Phố :</div>
                                        <div class="DivTextBox">
                                            <asp:TextBox ID="txtMatinh" CssClass="TextBox" runat="server" Text="" />
                                        </div>
                                    </div>

                                    <div class="Div-Right">
                                        <div class="DivLabelSearch">Tên Tỉnh/Thành Phố :</div>
                                        <div class="DivTextBox">
                                            <asp:TextBox ID="txtTentinh" CssClass="TextBox" runat="server" Text="" />
                                        </div>
                                    </div>
                                </div>
                                <div style="clear: both"></div>
                                <div class="DivRow">
                                    <div class="Div-Left">
                                        <div class="DivLabelSearch">Tổng số lao động :</div>
                                        <div class="DivTextBox">
                                            <asp:TextBox ID="txtTongsolaodong" CssClass="TextBox" runat="server" Text="" />
                                        </div>
                                    </div>

                                    <div class="Div-Right">
                                        <div class="DivLabelSearch">Ngành nghề kinh doanh :</div>
                                        <div class="DivTextBox">
                                            <asp:TextBox ID="txtNganhnghe" CssClass="TextBox" runat="server" Text="" />
                                        </div>
                                    </div>
                                </div>
                                <div style="clear: both"></div>
                                <div class="DivRow">
                                    <div class="Div-Left">
                                        <div class="DivLabelSearch">Tên giám đốc :</div>
                                        <div class="DivTextBox">
                                            <asp:TextBox ID="txtTengiamdoc" CssClass="TextBox" runat="server" Text="" />
                                        </div>
                                    </div>

                                    <div class="Div-Right">
                                        <div class="DivLabelSearch">Điện thoại giám đốc :</div>
                                        <div class="DivTextBox">
                                            <asp:TextBox ID="txtDienthoaigiamdoc" CssClass="TextBox" runat="server" Text="" />
                                        </div>
                                    </div>
                                </div>
                                <div style="clear: both"></div>
                                <div class="DivRow">
                                    <div class="Div-Left">
                                        <div class="DivLabelSearch">Số giấy tờ :</div>
                                        <div class="DivTextBox">
                                            <asp:TextBox ID="txtSogiayto" CssClass="TextBox" runat="server" Text="" />
                                        </div>
                                    </div>

                                    <div class="Div-Right">
                                        <div class="DivLabelSearch">Ngày cấp :</div>
                                        <div class="DivTextBox">
                                            <asp:TextBox ID="txtNgaycap" CssClass="TextBox" runat="server" Text="" />
                                        </div>
                                    </div>
                                </div>
                                <div style="clear: both"></div>
                                <div class="DivRow">

                                    <div class="Div-Left">
                                        <div class="DivLabelSearch">Loại giấy tờ :</div>
                                        <div class="DivTextBox">
                                            <asp:TextBox ID="txtLoaigiayto" CssClass="TextBox" runat="server" Text="" />
                                        </div>
                                    </div>

                                    <div class="Div-Right">
                                        <div class="DivLabelSearch">Số giấy chứng nhận đăng ký kinh doanh :</div>
                                        <div class="DivTextBox">
                                            <asp:TextBox ID="txtSogcn" CssClass="TextBox" runat="server" Text="" />
                                        </div>
                                    </div>
                                </div>
                                <div style="clear: both"></div>
                                <div class="DivRow">
                                    <div class="Div-Left">
                                        <div class="DivLabelSearch">Ngày cấp giấy chứng nhận ĐKKD :</div>
                                        <div class="DivTextBox">
                                            <asp:TextBox ID="txtNgaycapgcn" CssClass="TextBox" runat="server" Text="" />
                                        </div>
                                    </div>

                                    <div class="Div-Right">
                                        <div class="DivLabelSearch">Số CMND :</div>
                                        <div class="DivTextBox">
                                            <asp:TextBox ID="txtCmnd" CssClass="TextBox" runat="server" Text="" />
                                        </div>
                                    </div>
                                </div>
                                <div style="clear: both"></div>
                                <div class="DivRow">
                                    <div class="Div-Left">
                                        <div class="DivLabelSearch">Chương :</div>
                                        <div class="DivTextBox">
                                            <asp:TextBox ID="txtTenchuong" CssClass="TextBox" runat="server" Text="" />
                                        </div>
                                    </div>

                                    <div class="Div-Right">
                                        <div class="DivLabelSearch">Khoản :</div>
                                        <div class="DivTextBox">
                                            <asp:TextBox ID="txtTenkhoan" CssClass="TextBox" runat="server" Text="" />
                                        </div>
                                    </div>
                                </div>
                                <div style="clear: both"></div>
                                <div class="DivRow">
                                    <div class="Div-Left">
                                        <div class="DivLabelSearch">Loại người nộp thuế :</div>
                                        <div class="DivTextBox">
                                            <asp:TextBox ID="txtLoainguoinopthue" CssClass="TextBox" runat="server" Text="" />
                                        </div>
                                    </div>

                                    <div class="Div-Right">
                                        <div class="DivLabelSearch">Mã trạng thái ĐKT cá nhân :</div>
                                        <div class="DivTextBox">
                                            <asp:TextBox ID="txtMatrangthaidktcanhan" CssClass="TextBox" runat="server" Text="" />
                                        </div>
                                    </div>
                                </div>
                                <div style="clear: both"></div>
                                <div class="DivRow">

                                    <div class="Div-Left">
                                        <div class="DivLabelSearch">Loại hình kinh tế :</div>
                                        <div class="DivTextBox">
                                            <asp:TextBox ID="txtLoaihinhkinhte" CssClass="TextBox" runat="server" Text="" />
                                        </div>
                                    </div>

                                    <div class="Div-Right">
                                        <div class="DivLabelSearch">Tạm nghỉ từ ngày :</div>
                                        <div class="DivTextBox">
                                            <asp:TextBox ID="txtTamnghitungay" CssClass="TextBox" runat="server" Text="" />
                                        </div>
                                    </div>
                                </div>
                                <div style="clear: both"></div>
                                <div class="DivRow">

                                    <div class="Div-Left">
                                        <div class="DivLabelSearch">Tạm nghỉ đến ngày :</div>
                                        <div class="DivTextBox">
                                            <asp:TextBox ID="txtTamnghidenngay" CssClass="TextBox" runat="server" Text="" />
                                        </div>
                                    </div>

                                    <div class="Div-Right">
                                        <div class="DivLabelSearch">Lý do tạm nghỉ :</div>
                                        <div class="DivTextBox">
                                            <asp:TextBox ID="txtLydotamnghi" CssClass="TextBox" runat="server" Text="" />
                                        </div>
                                    </div>
                                </div>
                                <div style="clear: both"></div>
                                <div class="DivRow">
                                    <div class="Div-Left">
                                        <div class="DivLabelSearch">Lý do đóng MST cá nhân :</div>
                                        <div class="DivTextBox">
                                            <asp:TextBox ID="txtLydodongmstcanhan" CssClass="TextBox" runat="server" Text="" />
                                        </div>
                                    </div>

                                    <div class="Div-Right">
                                        <div class="DivLabelSearch">Ngày đóng trạng thái cá nhân :</div>
                                        <div class="DivTextBox">
                                            <asp:TextBox ID="txtNgaydongtrangthaicanhan" CssClass="TextBox" runat="server" Text="" />
                                        </div>
                                    </div>
                                </div>
                                <div style="clear: both"></div>
                                <div class="DivRow">

                                    <div class="Div-Left">
                                        <div class="DivLabelSearch">Lý do đóng MST tổ chức :</div>
                                        <div class="DivTextBox">
                                            <asp:TextBox ID="txtLydodongmsttochuc" CssClass="TextBox" runat="server" Text="" />
                                        </div>
                                    </div>

                                    <div class="Div-Right">
                                        <div class="DivLabelSearch">Ngày đóng trạng thái tổ chức :</div>
                                        <div class="DivTextBox">
                                            <asp:TextBox ID="txtNgaydongtrangthaitochuc" CssClass="TextBox" runat="server" Text="" />
                                        </div>
                                    </div>
                                </div>
                                <div style="clear: both"></div>
                                <div class="DivRow">

                                    <div class="Div-Left">
                                        <div class="DivLabelSearch">Quốc tịch :</div>
                                        <div class="DivTextBox">
                                            <asp:TextBox ID="txtQuoctich" CssClass="TextBox" runat="server" Text="" />
                                        </div>
                                    </div>

                                    <div class="Div-Right">
                                        <div class="DivLabelSearch">Ngày sinh :</div>
                                        <div class="DivTextBox">
                                            <asp:TextBox ID="txtNgaysinh" CssClass="TextBox" runat="server" Text="" />
                                        </div>
                                    </div>
                                </div>
                                <div style="clear: both"></div>
                                <div class="DivRow">

                                    <div class="Div-Left">
                                        <div class="DivLabelSearch">Vốn kinh doanh :</div>
                                        <div class="DivTextBox">
                                            <asp:TextBox ID="txtVonkinhdoanh" CssClass="TextBox" runat="server" Text="" />
                                        </div>
                                    </div>

                                    <div class="Div-Right">
                                        <div class="DivLabelSearch">Nguồn vốn NSNN :</div>
                                        <div class="DivTextBox">
                                            <asp:TextBox ID="txtNguonvonnsnn" CssClass="TextBox" runat="server" Text="" />
                                        </div>
                                    </div>
                                </div>
                                <div style="clear: both"></div>
                                <div class="DivRow">

                                    <div class="Div-Left">
                                        <div class="DivLabelSearch">Nguồn vốn nước ngoài :</div>
                                        <div class="DivTextBox">
                                            <asp:TextBox ID="txtNguonvonnuocngoai" CssClass="TextBox" runat="server" Text="" />
                                        </div>
                                    </div>

                                    <div class="Div-Right">
                                        <div class="DivLabelSearch">Nguồn vốn khác :</div>
                                        <div class="DivTextBox">
                                            <asp:TextBox ID="txtNguonvonkhac" CssClass="TextBox" runat="server" Text="" />
                                        </div>
                                    </div>
                                </div>
                                <div style="clear: both"></div>
                                <div class="DivRow">

                                    <div class="Div-Left">
                                        <div class="DivLabelSearch">Ngày bắt đầu kinh doanh :</div>
                                        <div class="DivTextBox">
                                            <asp:TextBox ID="txtNgaybatdaukinhdoanh" CssClass="TextBox" runat="server" Text="" />
                                        </div>
                                    </div>

                                    <div class="Div-Right">
                                        <div class="DivLabelSearch">Điện thoại bàn :</div>
                                        <div class="DivTextBox">
                                            <asp:TextBox ID="txtDienthoaiban" CssClass="TextBox" runat="server" Text="" />
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div style="clear: both"></div>
                            <div class="DivRow">

                                <div class="Div-Left">
                                    <div class="DivLabelSearch">Trạng thái ĐKT cá nhân :</div>
                                    <div class="DivTextBox">
                                        <asp:TextBox ID="txtTrangthaidktcanhan" CssClass="TextBox" runat="server" Text="" />
                                    </div>
                                </div>

                                <div class="Div-Right">
                                    <div class="DivLabelSearch">Mã trạng thái ĐKT tổ chức :</div>
                                    <div class="DivTextBox">
                                        <asp:TextBox ID="txtMatrangthaidkttochuc" CssClass="TextBox" runat="server" Text="" />
                                    </div>
                                </div>
                            </div>
                            <div style="clear: both"></div>
                            <div class="DivRow">
                                <div class="Div-Left">
                                    <div class="DivLabelSearch">Trạng thái ĐKT tổ chức :</div>
                                    <div class="DivTextBox">
                                        <asp:TextBox ID="txtTrangthaidkttochuc" CssClass="TextBox" runat="server" Text="" />
                                    </div>
                                </div>

                                <div class="Div-Right">
                                    <div class="DivLabelSearch">Ngày nhận tờ khai :</div>
                                    <div class="DivTextBox">
                                        <asp:TextBox ID="txtNgaynhantokhai" CssClass="TextBox" runat="server" Text="" />
                                    </div>
                                </div>
                            </div>

                            <div style="clear: both"></div>
                            <div class="DivRow">
                                <div class="DivLabelSearch">&nbsp;&nbsp;&nbsp;</div>
                                <div class="DivTextBox">
                                    <asp:Button ID="btnSearch" runat="server" Text=" Tìm kiếm" CssClass="btn" />
                                    <asp:Button ID="btnReset" runat="server" Text="Hủy" CssClass="btn" />&nbsp;	
                                </div>
                            </div>
                            <div style="clear: both; height: 10px"></div>
                        </div>
                    </div>
                    <div style="clear: both; height: 10px"></div>
                    <asp:GridView ID="grdShow" runat="server" AutoGenerateColumns="False" EmptyDataText="{Không có dữ liệu}"
                        AllowPaging="false" Width='100%' BorderWidth="1px" CssClass="GridBorder">
                        <Columns>
                            <asp:TemplateField>
                                <ItemTemplate>
                                    <asp:HyperLink ID="hplEdit" runat="server" Text="Sửa"></asp:HyperLink>
                                </ItemTemplate>
                                <ItemStyle CssClass="GridTextLink" HorizontalAlign="Center" Width="10%" />
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="STT">
                                <ItemTemplate>
                                    <asp:Label runat="server" ID="lblSTT" Text=''></asp:Label>
                                </ItemTemplate>
                                <ItemStyle Width="5%" HorizontalAlign="Left" />
                            </asp:TemplateField>
                            <%--<asp:TemplateField HeaderText='MaCQT'>
                                <ItemTemplate>
                                    <asp:HyperLink ID="hplMacqt" runat="server"></asp:HyperLink>
                                </ItemTemplate>
                                <ItemStyle Width='25%' CssClass='text_list_links' HorizontalAlign='Left' />
                            </asp:TemplateField>--%>
                            <%--<asp:BoundField DataField='TenCQT' HeaderText='TenCQT'>
                                <ItemStyle Width='15%' />
                            </asp:BoundField>--%>
                            <%--<asp:BoundField DataField='SoNguoiNopThue' HeaderText='SoNguoiNopThue'>
                                <ItemStyle Width='15%' />
                            </asp:BoundField>--%>
                            <%--<asp:BoundField DataField='MaSoThue' HeaderText='Mã số thuế'>
                                <ItemStyle Width='10%' />
                            </asp:BoundField>--%>
                            <asp:TemplateField HeaderText='Mã số thuế'>
                                <ItemTemplate>
                                    <asp:HyperLink ID="hplMST" runat="server"></asp:HyperLink>
                                </ItemTemplate>
                                <ItemStyle Width='25%' CssClass='text_list_links' HorizontalAlign='Left' />
                            </asp:TemplateField>
                            <asp:BoundField DataField='TenNguoiNopThue' HeaderText='Tên người nộp thuế'>
                                <ItemStyle Width='15%' />
                            </asp:BoundField>
                            <asp:BoundField DataField='MaNganhChinh' HeaderText='Mã ngành chính'>
                                <ItemStyle Width='5%' />
                            </asp:BoundField>
                            <asp:BoundField DataField='TenNganhChinh' HeaderText='Tên ngành chính'>
                                <ItemStyle Width='15%' />
                            </asp:BoundField>
                            <asp:BoundField DataField='SoNha' HeaderText='Số nhà'>
                                <ItemStyle Width='15%' />
                            </asp:BoundField>
                            <%--<asp:BoundField DataField='MaPhuongXa' HeaderText='MaPhuongXa'>
                                <ItemStyle Width='15%' />
                            </asp:BoundField>--%>
                            <asp:BoundField DataField='TenPhuongXa' HeaderText='Tên phường'>
                                <ItemStyle Width='15%' />
                            </asp:BoundField>
                            <%--<asp:BoundField DataField='MaHuyen' HeaderText='MaHuyen'>
                                <ItemStyle Width='15%' />
                            </asp:BoundField>--%>
                            <asp:BoundField DataField='Huyen' HeaderText='Huyện/Thành phố'>
                                <ItemStyle Width='15%' />
                            </asp:BoundField>
                            <%--<asp:BoundField DataField='MaTinh' HeaderText='MaTinh'>
                                <ItemStyle Width='15%' />
                            </asp:BoundField>--%>
                            <%--<asp:BoundField DataField='TenTinh' HeaderText='TenTinh'>
                                <ItemStyle Width='15%' />
                            </asp:BoundField>--%>
                            <%--<asp:BoundField DataField='TongSoLaoDong' HeaderText='TongSoLaoDong'>
                                <ItemStyle Width='15%' />
                            </asp:BoundField>--%>
                            <asp:BoundField DataField='NganhNghe' HeaderText='Ngành nghề'>
                                <ItemStyle Width='15%' />
                            </asp:BoundField>
                            <%--<asp:BoundField DataField='TenGiamDoc' HeaderText='TenGiamDoc'>
                                <ItemStyle Width='15%' />
                            </asp:BoundField>
                            <asp:BoundField DataField='DienThoaiGiamDoc' HeaderText='DienThoaiGiamDoc'>
                                <ItemStyle Width='15%' />
                            </asp:BoundField>--%>
                            <%-- <asp:BoundField DataField='SoGiayTo' HeaderText='SoGiayTo'>
                                <ItemStyle Width='15%' />
                            </asp:BoundField>
                            <asp:BoundField DataField='NgayCap' HeaderText='NgayCap'>
                                <ItemStyle Width='15%' />
                            </asp:BoundField>
                            <asp:BoundField DataField='LoaiGiayTo' HeaderText='LoaiGiayTo'>
                                <ItemStyle Width='15%' />
                            </asp:BoundField>--%>
                            <asp:BoundField DataField='SoGCN' HeaderText='Số GCN'>
                                <ItemStyle Width='5%' />
                            </asp:BoundField>
                            <asp:BoundField DataField='NgayCapGCN' HeaderText='Ngày cấp GCN'>
                                <ItemStyle Width='15%' />
                            </asp:BoundField>
                            <asp:BoundField DataField='CMND' HeaderText='CMND'>
                                <ItemStyle Width='5%' />
                            </asp:BoundField>
                            <%-- <asp:BoundField DataField='TenChuong' HeaderText='TenChuong'>
                                <ItemStyle Width='15%' />
                            </asp:BoundField>
                            <asp:BoundField DataField='TenKhoan' HeaderText='TenKhoan'>
                                <ItemStyle Width='15%' />
                            </asp:BoundField>--%>
                            <%--<asp:BoundField DataField='LoaiNguoiNopThue' HeaderText='LoaiNguoiNopThue'>
                                <ItemStyle Width='15%' />
                            </asp:BoundField>--%>
                            <%--<asp:BoundField DataField='MaTrangThaiDKTCaNhan' HeaderText='MaTrangThaiDKTCaNhan'>
                                <ItemStyle Width='15%' />
                            </asp:BoundField>--%>
                            <asp:BoundField DataField='TrangThaiDKTCaNhan' HeaderText='Trạng thái cá nhân'>
                                <ItemStyle Width='15%' />
                            </asp:BoundField>
                            <%--<asp:BoundField DataField='MaTrangThaiDKTToChuc' HeaderText='MaTrangThaiDKTToChuc'>
                                <ItemStyle Width='15%' />
                            </asp:BoundField>--%>
                            <asp:BoundField DataField='TrangThaiDKTToChuc' HeaderText='Trạng thái tổ chức'>
                                <ItemStyle Width='15%' />
                            </asp:BoundField>
                            <%--<asp:BoundField DataField='NgayNhanToKhai' HeaderText='NgayNhanToKhai'>
                                <ItemStyle Width='15%' />
                            </asp:BoundField>
                            <asp:BoundField DataField='LoaiHinhKinhTe' HeaderText='LoaiHinhKinhTe'>
                                <ItemStyle Width='15%' />
                            </asp:BoundField>--%>
                            <%--<asp:BoundField DataField='TamNghiTuNgay' HeaderText='TamNghiTuNgay'>
                                <ItemStyle Width='15%' />
                            </asp:BoundField>
                            <asp:BoundField DataField='TamNghiDenNgay' HeaderText='TamNghiDenNgay'>
                                <ItemStyle Width='15%' />
                            </asp:BoundField>
                            <asp:BoundField DataField='LyDoTamNghi' HeaderText='LyDoTamNghi'>
                                <ItemStyle Width='15%' />
                            </asp:BoundField>--%>
                            <%--<asp:BoundField DataField='LyDoDongMSTCaNhan' HeaderText='LyDoDongMSTCaNhan'>
                                <ItemStyle Width='15%' />
                            </asp:BoundField>
                            <asp:BoundField DataField='NgayDongTrangThaiCaNhan' HeaderText='NgayDongTrangThaiCaNhan'>
                                <ItemStyle Width='15%' />
                            </asp:BoundField>
                            <asp:BoundField DataField='LyDoDongMSTToChuc' HeaderText='LyDoDongMSTToChuc'>
                                <ItemStyle Width='15%' />
                            </asp:BoundField>
                            <asp:BoundField DataField='NgayDongTrangThaiToChuc' HeaderText='NgayDongTrangThaiToChuc'>
                                <ItemStyle Width='15%' />
                            </asp:BoundField>
                            <asp:BoundField DataField='QuocTich' HeaderText='QuocTich'>
                                <ItemStyle Width='15%' />
                            </asp:BoundField>--%>
                            <asp:BoundField DataField='NgaySinh' HeaderText='NgaySinh'>
                                <ItemStyle Width='15%' />
                            </asp:BoundField>
                            <%--<asp:BoundField DataField='VonKinhDoanh' HeaderText='VonKinhDoanh'>
                                <ItemStyle Width='15%' />
                            </asp:BoundField>
                            <asp:BoundField DataField='NguonVonNSNN' HeaderText='NguonVonNSNN'>
                                <ItemStyle Width='15%' />
                            </asp:BoundField>
                            <asp:BoundField DataField='NguonVonNuocNgoai' HeaderText='NguonVonNuocNgoai'>
                                <ItemStyle Width='15%' />
                            </asp:BoundField>
                            <asp:BoundField DataField='NguonVonKhac' HeaderText='NguonVonKhac'>
                                <ItemStyle Width='15%' />
                            </asp:BoundField>
                            <asp:BoundField DataField='NgayBatDauKinhDoanh' HeaderText='NgayBatDauKinhDoanh'>
                                <ItemStyle Width='15%' />
                            </asp:BoundField>
                            <asp:BoundField DataField='DienThoaiBan' HeaderText='DienThoaiBan'>
                                <ItemStyle Width='15%' />
                            </asp:BoundField>--%>
                        </Columns>
                        <HeaderStyle Height="26px" HorizontalAlign="Left" CssClass="GridHeader" />
                        <RowStyle CssClass="GridRow" Height="23px" />
                        <AlternatingRowStyle CssClass="GridAlterRow" />
                        <PagerStyle CssClass="GridPaged" HorizontalAlign="Right" Height="23px" />
                        <PagerSettings Mode="Numeric" PageButtonCount="2" />
                        <EmptyDataRowStyle CssClass="GridTextEmpty" HorizontalAlign="Center" />
                    </asp:GridView>
                    <div style="clear: both; height: 5px"></div>
                    <div>
                        <asp:Button ID="btnDelete" CssClass="btn" runat="server" Text="Xóa" />
                        <asp:Label ID="lblPage_Size" runat="server" Text="Số bản ghi trên trang:"></asp:Label>
                        <asp:DropDownList ID="drpPage_Size" runat="server" AutoPostBack="True" Width="70px" CssClass="input_form">
                            <asp:ListItem Text="10" Value="10"></asp:ListItem>
                            <asp:ListItem Text="20" Value="20"></asp:ListItem>
                            <asp:ListItem Text="50" Value="50"></asp:ListItem>
                            <asp:ListItem Text="100" Value="100"></asp:ListItem>
                        </asp:DropDownList>
                        <asp:Label ID="lblTotal" runat="server"></asp:Label>
                    </div>
                    <div style="width: 100%">
                        <!--phan trang-->
                        <div id="results_resultsNavigationDiv" class="paginationEMP">
                            <ul>
                                <asp:LinkButton ID="lnkFirst" runat="server"></asp:LinkButton>
                                <asp:Repeater ID="rptPage" runat="server">
                                    <ItemTemplate>
                                        <asp:LinkButton ID="lnkTitle" CssClass="page_num" runat="server" OnClick="lnkTitle_Click"></asp:LinkButton>
                                    </ItemTemplate>
                                </asp:Repeater>
                                <asp:LinkButton ID="lnkLast" runat="server"></asp:LinkButton>
                            </ul>
                        </div>
                        <asp:HiddenField ID="hidCount" Value="0" runat="server" />
                        <asp:HiddenField ID="hidIndex_page" Value="0" runat="server" />
                        <asp:HiddenField ID="hidCur_Page" Value="1" runat="server" />
                    </div>
                    <div style='display: none'>
                        <asp:DropDownList ID="drpMessage" runat="server">
                            <asp:ListItem Text='Bạn có chắc chắn muốn xóa bản ghi này không?' Value='0'></asp:ListItem>
                            <asp:ListItem Text='Bạn có chắc chắn muốn xóa bản đã chọn?' Value='1'></asp:ListItem>
                            <asp:ListItem Text='Bạn phải chọn ít nhất một bản ghi.' Value='2'></asp:ListItem>
                        </asp:DropDownList>
                        <asp:HiddenField ID="hidID" Value="0" runat="server" />
                    </div>
                </div>
            </div>
        </div>
    </ContentTemplate>
</asp:UpdatePanel>








